package com.netty.modbus.dto.response;

import com.netty.modbus.exception.DataConvertException;
import io.netty.buffer.ByteBuf;

/**
 * description: WarnSetBody <br>
 * date: 2021/9/29 17:52 <br>
 * @author: lwy <br>
 * version: 1.0 <br>
 */
public class AlarmSettingBody extends ResponseBody{
    private final int BYTE_LENGTH = 137;
    @Override
    public void decode(byte[] data) {
        this.commDecode(BYTE_LENGTH,data);
    }

    @Override
    public ByteBuf encode() throws DataConvertException {
        return this.commEncode(null);
    }
}
